#ifndef DIALOG_H
#define DIALOG_H

#include "graphicinfo.h"
#include <QDialog>
#include <QColorDialog>

namespace Ui {
    class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(int, GraphicInfo* pGI = 0, QWidget *parent = 0);
    ~Dialog();

public slots:
    void onOK();

private:
    Ui::Dialog *ui;
    int flag;
    GraphicInfo* GI;

    void lineInput();
    void ellipseInput();
    void poly6Input();
    void poly3Input();

    void transInput();
    void rotateInput();
    void scaleInput();
//    void cilpInput();

};

#endif // DIALOG_H
